package com.fire.social.service;

import com.fire.social.entity.node.Hobby;
import com.fire.social.entity.node.User;

import java.util.List;
import java.util.Map;

public interface HobbyService {

    /**
     * 获取用户兴趣爱好
     */
    void findHobbyByAccount(User user, Map<String, Object> map);

    /**
     * 添加兴趣爱好
     */
    Hobby createHobby(String hname, String htype);

    /**
     * 查找兴趣爱好
     */
    List<Hobby> findHobbyByName(String hname);

}
